/* 旅行计划页面样式 */
.plan-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.plan-sidebar {
    background-color: var(--bg-primary);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.plan-actions {
    margin-bottom: 20px;
}

.plan-list h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.plan-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-item {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.plan-item:hover {
    background-color: #EDF2F7;
}

.plan-item.active {
    border-left: 3px solid var(--primary-color);
    background-color: rgba(0, 102, 204, 0.05);
}

.plan-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.plan-item-header h4 {
    font-size: 16px;
    font-weight: 500;
}

.plan-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.plan-item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.plan-status.completed {
    color: var(--success);
}

.plan-detail {
    background-color: var(--bg-primary);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.plan-title h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.plan-controls {
    display: flex;
    gap: 10px;
}

.plan-overview {
    margin-bottom: 30px;
}

.plan-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.plan-stat {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.plan-description h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-itinerary {
    margin-bottom: 30px;
}

.plan-itinerary h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.day-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.day-tab {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.day-tab:hover {
    background-color: #EDF2F7;
}

.day-tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.day-header h4 {
    font-size: 18px;
    font-weight: 600;
}

.day-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item:before {
    content: "";
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-time {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-content h5 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

.plan-notes h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.note-editor {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.note-editor textarea {
    flex: 1;
    height: 80px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    resize: vertical;
}

.saved-notes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.note-item {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 15px;
    position: relative;
}

.note-item p {
    margin-bottom: 5px;
}

.note-date {
    font-size: 12px;
    color: var(--text-secondary);
}